//
//  HomeModel.h
//  CherryPlumStore
//
//  Created by SDX on 2019/9/22.
//  Copyright © 2019 千凯. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 数据请求的block

 @param success 成功状态返回
 @param data 返回的数据,序列化好的完整的
 */
typedef void(^LoadHomePageBlock)(BOOL success, NSMutableDictionary *data);

@interface HomeLoader : NSObject


/**
 首页的数据,经过序列化的
 */
@property(nonatomic, copy, readwrite) NSMutableDictionary *homeData;


/**
 加载首页数据
 */
-(void) loadDataWithFinishBlock:(LoadHomePageBlock) finishBlock;
@end
